
set(CMAKE_C_COMPILER  /usr/bin/arm-none-eabi-gcc)
set(CMAKE_ASM_COMPILER /usr/bin/arm-none-eabi-gcc)
set(CMAKE_CXX_COMPILER /usr/bin/arm-none-eabi-g++)
set(C_FLAGS "-march=armv7-a -marm -mfloat-abi=soft -O0 -Wall -static -g -gdwarf-2 -fno-builtin --specs=nosys.specs -nostartfiles")
set(CMAKE_C_FLAGS ${C_FLAGS})
set(CMAKE_CXX_FLAGS ${C_FLAGS})
set(CMAKE_ASM_FLAGS ${C_FLAGS})